home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / doom / drtyhary.zip / DRTYHARY.BAT < prev    next >
DOS Batch File  |  1997-02-11  |  2KB  |  85 lines

  1. @echo off
  2. cls
  3.  
  4. echo.
  5. echo. Installation of the fabulous
  6. echo.     DIRTY
  7. echo.           HARRY
  8. echo.                 WAD
  9. echo.
  10. echo.                   ======>by Johnny Mnemonic
  11. echo.
  12. echo. This will take a sec, so jack in and chill out.
  13. echo.
  14.  
  15. rem Check main WAD
  16. if not exist doom.wad goto nowad
  17.  
  18. rem Check EXE Patch
  19. if not exist doom.exe goto noexe
  20. if not exist drtyhary.deh goto nodeh
  21.  
  22. rem Install EXE Patch
  23. if exist doom.old goto skip
  24. copy doom.exe doom.old
  25. :skip
  26. copy doom.old doomhack.exe
  27. dehacked -load drtyhary.deh > hacked.log
  28. if not ERRORLEVEL 0 goto fail
  29. del doom.exe
  30. ren doomhack.exe doom.exe
  31.  
  32. rem Install Sprites in WAD
  33. if not exist drtyhary.wad goto nopwad
  34. echo  Completing sprites, please wait...
  35. deusf -as drtyhary.wad > deusf.log
  36. if not ERRORLEVEL 0 goto fail 
  37.  
  38. echo Installation succeeded.
  39. echo.
  40. echo Get ready to play DIRTY HARRY!
  41. echo            part one of the Ultimate Fighting Championships!
  42. pause
  43. doom -file drtyhary.wad
  44.  
  45. echo Was it fun??
  46. echo.
  47. echo This file is configured to restore your doom.exe and doom.wad files
  48. echo to their original configurations.  If you do not want this to happen
  49. echo yet, press CTRL+BREAK.
  50. echo PLEASE NOTE!!<+++++++++++++++++++++++++++++++++++++++++++++++++++++
  51. echo DRTYHARY.DEH can only be used with DRTYHARY.WAD (it needs the MAC10
  52. echo sprite to run).     PRESS ANY KEY OR CTRL+BREAK NOW
  53. pause
  54.  
  55. Old_doom.bat
  56.  
  57. :fail
  58. echo Installation failed: A tool didn't work.
  59. echo Make sure that DEUSF.EXE and DEHACKED.EXE
  60. echo are both in your DooM directory.
  61. echo See hacked.log or deusf.log for details.
  62. goto end
  63.  
  64. :nowad
  65. echo Unable to locate DOOM.WAD
  66. echo installation halted
  67. goto end
  68.  
  69. :noexe
  70. echo Unable to locate DOOM.EXE
  71. echo installation halted
  72. goto end
  73.  
  74. :nodeh
  75. echo Unable to locate DRTYHARY.DEH
  76. echo installation halted
  77. goto end
  78.  
  79. :nopwad
  80. echo Unable to locate DRTYHARY.WAD
  81. echo installation halted
  82. goto end
  83.  
  84. :end
  85.